#include "app_mqtt.h"

void mqtt_revc_cb(void *data, int len)
{
    log_info("mqtt revc: %s", data);
}


int main(int argc, char const *argv[])
{
    app_mqtt_init();

    app_mqtt_resister_revc_cb(mqtt_revc_cb);

    app_mqtt_send("hello world", 11);
    sleep(3);
    app_mqtt_send("hello world 1", 13);

    sleep(10000000);
    return 0;
}
